package org.example.myleet.p791;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue("xsssssdddddddddfffffffffhhhhhhhhhhjjjjjjjjkkkkkkkbbbbeeiiiioouuuuvvv".equals(solution.customSortString("zyxwsdfghjkl", "jfudsoihvbjdskfifduoieuhbvdjskhvbdhjxkhfiuehfdjkhdsjkfhbjhfdkdfksjfh")));
        Assert.isTrue("cbad".equals(solution.customSortString("cba", "abcd")));
        Assert.isTrue("cbad".equals(solution.customSortString("cbafg", "abcd")));
    }
}
